package demo.thread;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

/**
 * Created by zhangyanfei on 2018/4/18.
 *
 * @author zhangyanfei
 * @date 2018/04/18
 */
public class javaStruct {
    public static void main(String[] args) {

        List<Integer> test = new ArrayList<>();

        for (Integer i : test) {
            System.out.println("测试");
        }

        test.sort(Comparator.comparingInt(a -> a));

        System.out.println(test.get(0));
    }
}
